package org.dromara.administration.domain.bo;

import org.dromara.administration.domain.AdmSealFile;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import jakarta.validation.constraints.*;


/**
 * 印章文件业务对象 qyx_adm_seal_file
 *
 * @author LUSH
 * @date 2025-05-21
 */
@Data
@AutoMapper(target = AdmSealFile.class, reverseConvertGenerate = false)
public class AdmSealFileBo {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 文件名
     */
    @NotBlank(message = "文件名不能为空")
    private String fileName;

    /**
     * 文件数量
     */
    @NotNull(message = "文件数量不能为空")
    @Min(value = 1, message = "文件数量不能小于1")
    private Long fileCount;

    /**
     * 印章申请表的ID
     */
    private Long sealId;


}
